import request from '@/utils/request'

// 验证码请求
export function loginImg(clientToken) {
  return request({
    url: 'user-service/user/imageCode/' + clientToken,
    method: 'GET'
  })
}

// 登录请求
export function login(data) {
  return request({
    url: 'user-service/user/login',
    method: 'POST',
    data
  })
}
